adding three fractions with different denominators